<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!Doctype html>
<html>
<head>
    <meta content="text/html" charset="utf-8">
    <title>党建</title>
    <meta name="keywords" content="务川,党建"/>
    <meta name="description" content="务川,党建"/>
    <link href="../../static/images/ico/favicon.png" rel="shortcut icon">
    <link rel="stylesheet" type="text/css" href="../../static/css/article.css">
    <script type="text/javascript" src="../../static/js/user/jq181.js"></script>


    <link rel="stylesheet" type="text/css" href="../../static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="../../static/css/grumble.css">

    <script type="text/javascript" src="../../static/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../../static/js/bootstrap.js"></script>
    <script type="text/javascript" src="../../static/js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="../../static/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script type="text/javascript" src="../../static/js/jquery.grumble.min.js"></script>
    <script type="text/javascript" src="../../static/js/zhBase.js"></script>
    <script type="text/javascript" src="../../static/js/zhForm.js"></script>
</head>
<body>
<jsp:include page="../../themes/header.jsp"/>
<div id="middle">
    <div class="wrapper">
        <div id="middle-content">
            <div class="article-wrapper">
                <div class="article-header">
                    <div>
                        <span></span>当前位置：<a href="/">首页</a> &gt; <a href="/apply/myApply.do">我的申请</a> &gt; <a href="#">查看申请</a>
                    </div>
                </div>
                <div class="article-content-wrapper">
                    <div style="margin: 15px 0"></div>
                    <form action="#" id="formId" class="form-horizontal table-bordered" role="form">
                        <div class="row">
                            <div class="col-xs-8">
                                <div class="form-group">
                                    <label for="title" class="col-sm-3 control-label">活动名称</label>

                                    <div class="col-sm-9">
                                        <label class="control-label" id="title">
                                            <p>
                                                ${obj.title}
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-8">
                                <div class="form-group">
                                    <label for="money" class="col-sm-3 control-label">活动经费(元)</label>

                                    <div class="col-sm-9" >
                                        <label class="control-label" id="money">
                                            <p>
                                                ${obj.money}
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-8">
                                <div class="form-group">
                                    <label for="timeBegin" class="col-sm-3 control-label">活动时间</label>
                                    <div class="col-sm-9">
                                        <label class="control-label" id="timebegin">
                                            <p>
                                                ${obj.timebegin}到${obj.timeend}
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <label for="meaning" class="col-sm-2 control-label">活动意义</label>
                                    <div class="col-sm-9">
                                        <label class="control-label" id="meaning">
                                            <p>
                                                ${obj.meaning}
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <label for="content" class="col-sm-2 control-label">活动简介</label>

                                    <div class="col-sm-9">
                                        <label class="control-label" id="content">
                                            <p>
                                                ${obj.content}
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-8">
                                <div class="form-group">
                                    <label for="status" class="col-sm-3 control-label">审核</label>
                                    <div class="col-sm-9">
                                        <label class="control-label" id="status">
                                            <p>
                                                <c:if test="${obj.status == '1'}">
                                                    通过
                                                </c:if>
                                                <c:if test="${obj.status == '0'}">
                                                    未审核
                                                </c:if>
                                                <c:if test="${obj.status == '-1'}">
                                                    不通过
                                                </c:if>
                                            </p>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <label for="checkMsg" class="col-sm-2 control-label">审核意见</label>

                                        <div class="col-sm-9">
                                            <label class="control-label" id="checkMsg">
                                                <p>
                                                    ${obj.checkmsg}
                                                </p>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <c:if test="${obj.status != '1'}">
                            <div class="row">
                                <div class="col-xs-2">
                                </div>
                                <div class="col-xs-4">
                                    <a href="/apply/edit.do?id=${obj.id}"  class="btn btn-success btn-block">编辑</a>
                                </div>
                                <div class="col-xs-2">
                                </div>
                            </div>
                        </c:if>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<c:if test="${empty sessionScope.sysUser}">
    <script type="text/javascript">
        alert("亲爱的用户，请先登录");
        window.location.href="/loginReg/login.do";
    </script>
</c:if>
<jsp:include page="../../themes/footer.jsp"/>
</body>
</html>